<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="content">
		<h:form prependId="false">
			<p:commandButton image="back" ajax="false" immediate="true" style="margin-right:20px;" value="#{guichetsmsgs['navigation.back']}" action="/jsf/guichets/viewGuichets.xhtml"/>
		
			<p:panel header="#{guichetsmsgs['etablissementsbancaires.title']} Details" style="margin-top:10px">
				<p:messages />
				<h:panelGrid id="detail" columns="2" styleClass="grid" columnClasses="label,value">
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbpays.title']}:*" />
							<h:inputText id="guichets_etbpays" value="#{GuichetsComponent.etablissementsbancaires.etbPays}" required="true" label="guichets_etbpays" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbetablissement.title']}:*" />
							<h:inputText id="guichets_etbetablissement" value="#{GuichetsComponent.etablissementsbancaires.etbEtablissement}" required="true" label="guichets_etbetablissement" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdescription.title']}:" />
							<h:inputText id="guichets_etbdescription" value="#{GuichetsComponent.etablissementsbancaires.etbDescription}" required="false" label="guichets_etbdescription" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbcodesituation.title']}:" />
							<h:inputText id="guichets_etbcodesituation" value="#{GuichetsComponent.etablissementsbancaires.etbCodeSituation}" required="false" label="guichets_etbcodesituation" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdatedebutvalidite.title']}:" />
							<p:calendar id="guichets_etbdatedebutvalidite" value="#{GuichetsComponent.etablissementsbancaires.etbDateDebutValidite}" required="false"  converter="primefacesCalendarConverter" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdatefinvalidite.title']}:" />
							<p:calendar id="guichets_etbdatefinvalidite" value="#{GuichetsComponent.etablissementsbancaires.etbDateFinValidite}" required="false"  converter="primefacesCalendarConverter" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdatedisparition.title']}:" />
							<p:calendar id="guichets_etbdatedisparition" value="#{GuichetsComponent.etablissementsbancaires.etbDateDisparition}" required="false"  converter="primefacesCalendarConverter" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbcodeetablissnouveau.title']}:" />
							<h:inputText id="guichets_etbcodeetablissnouveau" value="#{GuichetsComponent.etablissementsbancaires.etbCodeEtablissNouveau}" required="false" label="guichets_etbcodeetablissnouveau" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etboptionidinvariant.title']}:" />
							<h:inputText id="guichets_etboptionidinvariant" value="#{GuichetsComponent.etablissementsbancaires.etbOptionIdInvariant}" required="false" label="guichets_etboptionidinvariant" />
					<h:outputText value="#{guichetsmsgs['etablissementsbancaires.etbdateeffetidinvariant.title']}:" />
							<p:calendar id="guichets_etbdateeffetidinvariant" value="#{GuichetsComponent.etablissementsbancaires.etbDateEffetIdInvariant}" required="false"  converter="primefacesCalendarConverter" />
         			<h:panelGroup>
         				<p:commandButton image="save" ajax="false" style="margin-right:20px;" value="#{guichetsmsgs['navigation.save']}" action="#{GuichetsComponent.saveGuichetsEtablissementsBancaires(GuichetsComponent.guichets.guiEtablissement, GuichetsComponent.guichets.guiGuichet, GuichetsComponent.guichets.guiPays, GuichetsComponent.etablissementsbancaires)}"/>
         			</h:panelGroup>
				</h:panelGrid>
			</p:panel>

		</h:form>
	</ui:define>
</ui:composition>